package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 权益人管理对象 Beneficiaries
 *
 * @author ruoyi
 * @date 2024-09-11
 */
public class Beneficiaries extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 权益人的姓名 */
    @Excel(name = "权益人的姓名")
    private String name;

    /** 证件类型 */
    @Excel(name = "证件类型")
    private String idType;

    /** 证件号码 */
    @Excel(name = "证件号码")
    private String idNumber;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phoneNumber;

    /** 所在城市 */
    @Excel(name = "所在城市")
    private String city;

    /** 代理人姓名 */
    @Excel(name = "代理人姓名")
    private String agentName;

    /** 代理人工号 */
    @Excel(name = "代理人工号")
    private String agentId;

    /** 激活码 */
    @Excel(name = "激活码")
    private String activationCode;

    ActivationCodes activationCodes;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setIdType(String idType)
    {
        this.idType = idType;
    }

    public String getIdType()
    {
        return idType;
    }
    public void setIdNumber(String idNumber)
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber()
    {
        return idNumber;
    }
    public void setPhoneNumber(String phoneNumber)
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber()
    {
        return phoneNumber;
    }
    public void setCity(String city)
    {
        this.city = city;
    }

    public String getCity()
    {
        return city;
    }
    public void setAgentName(String agentName)
    {
        this.agentName = agentName;
    }

    public String getAgentName()
    {
        return agentName;
    }
    public void setAgentId(String agentId)
    {
        this.agentId = agentId;
    }

    public String getAgentId()
    {
        return agentId;
    }
    public void setActivationCode(String activationCode)
    {
        this.activationCode = activationCode;
    }

    public String getActivationCode()
    {
        return activationCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("idType", getIdType())
                .append("idNumber", getIdNumber())
                .append("phoneNumber", getPhoneNumber())
                .append("city", getCity())
                .append("agentName", getAgentName())
                .append("agentId", getAgentId())
                .append("activationCode", getActivationCode())
                .toString();
    }
}
